#ifndef DOCTORINDPAGE_H
#define DOCTORINDPAGE_H

#include <QWidget>
#include <QDebug>
#include <../Tools/clienttcp.h>
#include <QLabel>
#include <QTableWidget>

class DoctorsInDepartmentPage : public QWidget {
    Q_OBJECT

public:
    explicit DoctorsInDepartmentPage(const QString &departmentName, QWidget *parent = nullptr);

private:
    QLabel *label; // 用于显示医生信息
    QTableWidget *doctorTable;
    ClientTcp *tcp;

    void openDoctorInfoPage(const int); // 声明打开医生信息页面的函数
};

#endif // DOCTORINDPAGE_H
